.ChatPanel-SearchPanel {
  height: 100%;
  display: flex;
  flex-direction: column;

  &Tab {
    display: flex;
    align-items: center;
    width: 100%;
    height: 55px;
    border-bottom: 1px solid hsla(0, 0%, 79%, 0.3);

    .item-box {
      flex: 1;
      text-align: center;
    }
    .item {
      width: 80px;
      display: inline-block;
      padding-top: 17px;
      padding-bottom: 13px;
      justify-content: center;
      cursor: pointer;
      border-bottom: 3px solid #fff;
    }
  }
  .loading {
    padding: 10px 0;
  }
  .nodata-wrapper {
    margin-top: 0;
  }
}

.ChatPanel-SearchPanel-Message {
  .search-message {
    padding: 12px 20px;
    cursor: pointer;
    &:hover {
      background: #f9f9f9;
    }
  }
  .search-message-info {
    display: flex;
    align-items: center;
    .userAvatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-clip: padding-box;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .userName {
      flex: 1;
      font-size: 14px;
      color: #333;
      padding-left: 12px;
      padding-right: 10px;
    }
    .time {
      font-size: 12px;
      color: silver;
    }
  }
  .search-message-content {
    color: #333;
    font-size: 13px;
    padding-left: 49px;
    max-width: 315px;
    max-height: 60px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-: 3;
    overflow: hidden;
    word-break: break-all;
  }
}
